package com.web709.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.web709.entity.PointsTransactions;

import java.util.List;

public interface PointsTransactionsService extends IService<PointsTransactions> {
    List<PointsTransactions> getByUserId(int userId);

    void exchangeProduct(Integer userId, Integer price,Integer productId);
}
